const packageJson = require('../package.json');
const token ='eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJhdWQiOlsiYXBpIl0sImNvcnBJZCI6bnVsbCwidXNlcl9pZCI6IjE2NjkzNDk4MDUwNDg1MjMiLCJ1c2VyX25hbWUiOiIyMDIxMDMwMzIxIiwic2NvcGUiOlsicmVhZCJdLCJtb2JpbGUiOmZhbHNlLCJpc0FkbWluIjpmYWxzZSwiZXhwIjoxNzA2NzgyNjc0LCJpc0FwcEFkbWluIjpmYWxzZSwiYXV0aG9yaXRpZXMiOlsiVVNFUiIsIkFVVEhfU1lTVEVNX01BTkFHRSJdLCJqdGkiOiIyOGI2MjQ4Ni02MDZlLTRkYjQtOTNiZS0wNGY5ZGExNzE0MDkiLCJjbGllbnRfaWQiOiJhcGkifQ.tFTCE7jBvptn1Dzzt3jpDyEvcRj95UKqK493fdscxKE93QfpRnXCLPXbyu2CLTjd6KM0hMxvpMuys-BKFbQGksNMag3PBFyjaIAuk8TfSguohW2J8dIWItMSlGgM-wkpUdNV2NfzEkoh_Gm8vRQ9Hwdu-0PB4eIGFWqfwxZWcv0'
const setDevToken = () => {
    if(process.env.NODE_ENV === 'development') {
        localStorage.setItem('token', token);
    }
}
console.log(`%cfrontendVersion:${packageJson.version}`, 'color: green;font-size: 16px');

//设置开发环境token
module.exports = setDevToken;
